package com.iss.ljx.login.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author 流星
 */
@Controller
@RequestMapping("/login")
public class LoginController {
    @RequestMapping("/login")
    public String login() {
        return "login/login";
    }

    @RequestMapping("/main")
    public String loginMain() {
        return "redirect:/";
    }
}
